
package com.google.code.vh;

import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.Window;

public class MainWindow extends Window
{
  public MainWindow()
  {
    super( "Main Window" );
    setName( "vh" );
    initUI();
  }

  private void initUI()
  {
    VerticalLayout layout = new VerticalLayout();

    layout.setSpacing( true );
    layout.setMargin( true );

    layout.addComponent( new Label( "Successfully logged in - welcome to VirtualHockey!" ) );

    setContent( layout );
  }
}
